package model;
/**
 * @author Juan Marchese (juan.marchese@fdvsolutions.com)
 * Date: 08/06/12
 * Time: 00:32
 */
public abstract class ElemEscenario implements Cloneable{

    protected int y;
    protected int x;

    protected Item item;

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    protected Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public boolean equals(Object elemEscenario){
        return this.x == ((ElemEscenario) elemEscenario).getX() && this.y == ((ElemEscenario) elemEscenario).getY();
    }

    public abstract Item obtenerItem();

    public abstract boolean isMovimientoValido();

    public abstract boolean isTransportable();
    
    public ElemEscenario clone(){
    	return null;
    }
    
   
}
